package com.java.mytools.entity.po;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @author wangning
 * @create 2022-01-05 15:36
 */
public class SysRolePO extends BasePO{
	private static final long serialVersionUID = 1L;
	private Long roleId;		//角色ID
	private String roleName;	//角色名称
	private String roleKey;		//角色权限字符串
	private Integer roleSort;	//显示顺序
	private String dataScope;	//数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）默认为1
	private String status;		//角色状态（0正常 1停用）
	private String delFlag;		//删除标志（0代表存在 2代表删除）默认为0

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getRoleKey() {
		return roleKey;
	}

	public void setRoleKey(String roleKey) {
		this.roleKey = roleKey;
	}

	public Integer getRoleSort() {
		return roleSort;
	}

	public void setRoleSort(Integer roleSort) {
		this.roleSort = roleSort;
	}

	public String getDataScope() {
		return dataScope;
	}

	public void setDataScope(String dataScope) {
		this.dataScope = dataScope;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this)
				.append("roleId", roleId)
				.append("roleName", roleName)
				.append("roleKey", roleKey)
				.append("roleSort", roleSort)
				.append("dataScope", dataScope)
				.append("status", status)
				.append("delFlag", delFlag)
				.toString();
	}
}
